package com.uqbar.game.asteroid.tipe;

import java.awt.Color;

public class SmallAsteroid extends Asteroid {

	private int diameter = 20;
	private Color color = Color.BLUE;
	
	public SmallAsteroid(int x, int y, int speed, double dirX, double dirY) {
		super(x, y, speed, dirX, dirY);
//		this.setAppearance(new Circle(color, diameter));

		this.initializeAnimations(this.diameter);
		this.setAppearance(this.getAsteroidAnimation());
	}

	public void exploit() {
		this.destroy();
	}
	
	public int getDiameter() {
		return this.diameter;
	}
	
	protected void alignWithDiameter() {
		this.align(diameter);
	}

	public int getScore() {
		return 50;
	}
}
